const index = require('./index.js');
// 测试数据在这里填写
// const event = {
//     "target": "action/createWorkOrder",
//     "modifyStaff": "{"name":"吴伟龙","region":"茂南","grid":"开发区","account":"dwwuweilong5","id":"440981198608142273","status":"在职"}",
//     "obdAndStaff": "[]",
//     "region": "茂南",
//     "grid": "开发区",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// };
// const event = {
//     "target": "action/delWorkOrders",
//     "ids": "880c3388663f3a4c009ea5607df37576",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// };

// const event = {"target":"action/1","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyOTA3MDgyNiwiZXhwIjoxNzI5MDc0NDI2fQ.isg4PYLg5xUjUFha9R510rSFeTYquCAUdEWAiVDV1CY"}

// const event ={"target":"map/calToGridCenter","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyNTU4OTM1MywiZXhwIjoxNzI1NTkyOTUzfQ.-C7aOijNBtHlQpZAm7mHR6NetTMdiKLzFth9tDHlyCw"}



// const event ={"target":"map/calGridOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyNTUwNDQ0MSwiZXhwIjoxNzI1NTA4MDQxfQ.-MyFiK-zNzVqIJHryqf3WEl80BjkoaEc3nbi65Myy9Q"}

// const event ={"target":"map/calRegionOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyNTUwNDQ0MSwiZXhwIjoxNzI1NTA4MDQxfQ.-MyFiK-zNzVqIJHryqf3WEl80BjkoaEc3nbi65Myy9Q"}

// const event = {"target":"action/getObdList","page":0,"pageSize":50,"staffName":"廖志河","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyNDIwNDQyOCwiZXhwIjoxNzI0MjA4MDI4fQ.IBbZ6271MmfS2lRbvAn8UeyFhwRokmVFCIdxCKUvBTk"}

// const event = {
//     "target": "action/getStaffList",
//     "pageSize": 999,
//     "page": 0,
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/queryOrder",
//     "data": {
//         "page": 0,
//         "pageSize": 5,
//         "condition": {
//             "region": "茂南",
//             "grid": "油城东"
//         },
//         "region": "茂南",
//         "grid": "油城东"
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateDepart",
//     "data": {
//         "ID": "441100000000069906898646",
//         "region": "电白",
//         "grid": "林头"
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateObdInfo",
//     "id": "63ca5b136614b51c067521e751c3e62c",
//     "region": "茂南区",
//     "grid": "河东",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//     "target": "action/updateOrder",
//     "data": {
//         "IDs": "441100000000069906898646,441100000000069906898619",
//         "sign": true,
//         "region": "河东",
//         "grid": "茂南区",
//     },
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE1NDE5NDk4LCJleHAiOjE3MTU0MjMwOTh9.bTn7bVDVrcTThMEoH97etUTYK7flMIXyes35aMFvsxM"
// }
// const event = {
//   "target": "action/getRegionObd",
//   // "page": 0,
//   // "pageSize": 5,
//   "region": "茂南",
//   // "grid": "钱排",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE2Nzk3MDc3LCJleHAiOjE3MTY4MDA2Nzd9.1dHmDOzakxonWc4dnpCNdosuvAW7zjd8KKVI6IsJub4"
// };
// const event = { "target": "action/getWordOrderList", "page": 0, "pageSize": 999, "onlyCreator": "dwzengzhiyong2", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5pu-5b-X5YuHIiwiYWNjb3VudCI6ImR3emVuZ3poaXlvbmcyIiwiaWQiOiI0NDA5MDIxOTk2MDIwNDQ0MVgiLCJwaG9uZSI6IjE4ODE0MTI4NjI5Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6IyC5Y2XIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi57u86LCDIiwiaWF0IjoxNzE2OTc2MDM5LCJleHAiOjE3MTY5Nzk2Mzl9.nZo-KjggO3nbsmLOqROsVF1m-qCut3cT21Y0MdiZd6M" }
// const event = {
//   "target": "action/getObdList",
//   "page": 0,
//   "pageSize": 2000,
//   "region": "高州",
//   "grid": "高城南",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buE6bi_IiwiYWNjb3VudCI6ImR3aHVhbmdob25nMTAiLCJpZCI6IjQ0MDk4MjE5ODgxMjI3NjcxOCIsInBob25lIjoiMTU3MDY2NjUyMzYiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLljJblt54iLCJncmlkIjoi5rKz5LicIiwicG9zaXRpb24iOiLnj63plb8iLCJpYXQiOjE3MTkzODU5MDIsImV4cCI6MTcxOTM4OTUwMn0.R_Q-RhwgQ50PbdvkSm0A0BmCEegi7MvaCRmY92C3RSQ"
// };
// const event = { "target": "action/getStaffMap", "pageSize": 999, "page": 0, "staffName": "周叙焕", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p2O5L-K6ZSLIiwiYWNjb3VudCI6ImR3bGlqdW5mZW5nMyIsImlkIjoiNDQwOTAyMTk4NzA0MTUyNjM2IiwicGhvbmUiOiIxNTcwNjY2MjU1MSIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuiMguWNlyIsImdyaWQiOiLojILljJciLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyMTYzMTIzMSwiZXhwIjoxNzIxNjM0ODMxfQ.zkfsJErKwzXUTvPabxrLPFY30cAdc4R1qRcVBnW_mX0" }
// const event ={"target":"action/getObdModifyLog","newStaffName":"","oldStaffName":"","workOrderCreator":"杨敏","obdName":"","startDate":"","endDate":"","grid":"","page":0,"pageSize":100,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p2O5L-K6ZSLIiwiYWNjb3VudCI6ImR3bGlqdW5mZW5nMyIsImlkIjoiNDQwOTAyMTk4NzA0MTUyNjM2IiwicGhvbmUiOiIxNTcwNjY2MjU1MSIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuiMguWNlyIsImdyaWQiOiLojILljJciLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTcyMTM4MDc1MCwiZXhwIjoxNzIxMzg0MzUwfQ.L9HhUPgtndpvMjvPA9pyXkhn3zcHhtrG4auwJ50gPdw"}
// const event = {"target":"action/getWordOrderList","page":0,"pageSize":999,"currentPosition":"装维主管","region":"高州","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p6X5rWp5rO9IiwiYWNjb3VudCI6ImR3bGluaGFvemU0IiwiaWQiOiI0NDA5MDIxOTkzMDcyMjA0MTciLCJwaG9uZSI6IjE4MzEyMTgwMTA0Iiwic3RhdHVzIjoi5Zyo6IGMIiwicmVnaW9uIjoi6auY5beeIiwiZ3JpZCI6IiIsInBvc2l0aW9uIjoi6KOF57u05Li7566hIiwiaWF0IjoxNzIxMDA1MzEwLCJleHAiOjE3MjEwMDg5MTB9.rg0GO8c2VfMRowTm5cccqVIxJ9mGEo5SDMn2KQgrIqM"}
// const event ={
//   "target": "action/getObdPosition",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buE6bi_IiwiYWNjb3VudCI6ImR3aHVhbmdob25nMTAiLCJpZCI6IjQ0MDk4MjE5ODgxMjI3NjcxOCIsInBob25lIjoiMTU3MDY2NjUyMzYiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLljJblt54iLCJncmlkIjoi5rKz5LicIiwicG9zaXRpb24iOiLnj63plb8iLCJpYXQiOjE3MTkyODQ0NzUsImV4cCI6MTcxOTI4ODA3NX0.17Gb8cxuyD9eu9EuHNdINUa76YI7Xig8304EUKvkiwk",
//   "staff":"dwhuanghong10"
// }

const event ={"target": "action/login","data": {"account": "dwchenjiehai2","password": "630810"}}

//  const event = {"target":"action/submitApprove","id":"e2764d2d667e654a03bf4a244d146360","obdAndStaff":"[{\"_id\":\"910f00ea6667cb9100d5ae8112d1ff3d\",\"obdId\":\"441000000000010303082000\",\"fgqmc\":\"茂名茂南区袂花镇上江仔村片区C6二级(扩)(H)-POS001-1:8(14-10）\",\"newStaffName\":\"11111\",\"newStaffAccount\":\"dwyangjieming2\",\"oldStaffName\":\"李文业\",\"oldStaffAccount\":\"dwliwenye\"},{\"_id\":\"910f00ea6667cb9100d5ae8222687f73\",\"obdId\":\"441000000000010303081761\",\"fgqmc\":\"茂名茂南区站南街片区加厚D4二级(H)-POS001-1:8(5-15)\",\"newStaffName\":\"222222\",\"newStaffAccount\":\"dwhuanghualiang2\",\"oldStaffName\":\"陈桂元\",\"oldStaffAccount\":\"dwchenguiyuan\"}]","currentProcess":"综调审批","prePrecess":"","agreeOrNot":"同意","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMDQyNDYyNiwiZXhwIjoxNzMwNDI4MjI2fQ.AhbvfqEE1_pteeZ3AuoebhibvTL2v5fw5yCIvWMj24Q"}

// const event = { "target": "action/getWordOrderList", "page": 0, "pageSize": 50, "currentPosition": "全职装维", "queryType": "todoworkorder", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6ZmI5p2w5rW3IiwiYWNjb3VudCI6ImR3Y2hlbmppZWhhaTIiLCJpZCI6IjQ0MDkyMTE5OTAwNjA2ODMxOCIsInBob25lIjoiMTU3MDY2NjAwNjkiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLkv6HlrpwiLCJncmlkIjoi6ZKx5o6SIiwicG9zaXRpb24iOiLnj63plb8iLCJfdXBkYXRlVGltZSI6MTcxOTY0NzU3Mzk4MiwiaWF0IjoxNzMzNDUyNzU2LCJleHAiOjE3MzM0NTYzNTZ9.NIHeC6STRBEE9RW8sVAOvpdrx1OMrQGnvru8BtKqFfo" }

// const event ={"target":"map/calStaffToRegion","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzMwMDkwOSwiZXhwIjoxNzMzMzA0NTA5fQ.JrgoCTIevXRvfH28jv7slP8-usFRImn5oFFv5p2V0cE"}

// const event ={"target":"map/calStaffTownStreetByJson","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3ODkwNywiZXhwIjoxNzMzMjgyNTA3fQ.HlcZl5ngLhfv72f_of44I3cIGYSQdqT3js2xzndw8NY"}

// const event ={"target":"map/calGridOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3NDQ2NywiZXhwIjoxNzMzMjc4MDY3fQ.taXVcHtXdlOUYplFXjwZCvj7-CrFkPUDrhL8y1wxcng"}

// const event ={"target":"map/calRegionOffset","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3NDQ2NywiZXhwIjoxNzMzMjc4MDY3fQ.taXVcHtXdlOUYplFXjwZCvj7-CrFkPUDrhL8y1wxcng"}

// const event ={"target":"map/calStaffToRegion","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3NDQ2NywiZXhwIjoxNzMzMjc4MDY3fQ.taXVcHtXdlOUYplFXjwZCvj7-CrFkPUDrhL8y1wxcng"}

// const event ={"target":"map/calToGridCenter","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3NDQ2NywiZXhwIjoxNzMzMjc4MDY3fQ.taXVcHtXdlOUYplFXjwZCvj7-CrFkPUDrhL8y1wxcng"}

// const event ={"target":"map/calGridCenter","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzI3NDQ2NywiZXhwIjoxNzMzMjc4MDY3fQ.taXVcHtXdlOUYplFXjwZCvj7-CrFkPUDrhL8y1wxcng"}

// const event ={"target":"map/calArea","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi6buO5qCp5Z2HIiwiYWNjb3VudCI6ImR3bGl4dWp1biIsImlkIjoiNDQwOTgyMTk4OTEyMDkzMjczIiwicGhvbmUiOiIxNTcwNjY2NTAxNCIsInN0YXR1cyI6IuWcqOiBjCIsInJlZ2lvbiI6IuWMluW3niIsImdyaWQiOiLljJbmsrPopb8iLCJwb3NpdGlvbiI6IuePremVvyIsImlhdCI6MTczMzIxNzc4NCwiZXhwIjoxNzMzMjIxMzg0fQ.2QN1C_sYoVvU_HnWTzwdHegJvdqw5pt16-GFUBluVn4"}

// const event ={
//   "target": "action/test",
//   "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MTk4MjI4MDgsImV4cCI6MTcxOTgyNjQwOH0.lcuimOU52QEfRM-cAZIO-lEZ41mw678EMZVC9taDfoE"
// }
// const event = {
//     "target": "action/queryOrder2",
//     "data": {
//         "page": 0,
//         "pageSize": 50,
//         "condition": {
//             "staffName": "陈明基",
//             "region": "化州",
//             // "isNewAdd":"是"
//         }
//     },// "grid":"河东",
//     "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoi5p-v5oCd6ZOtIiwiYWNjb3VudCI6ImR3a2VzaW1pbmciLCJpZCI6IjQ0MDkwMjE5ODkwNzA5MDQ1NSIsInBob25lIjoiMTgwMzg5OTAyNDAiLCJzdGF0dXMiOiLlnKjogYwiLCJyZWdpb24iOiLojILljZciLCJncmlkIjoiIiwicG9zaXRpb24iOiLnu7zosIMiLCJpYXQiOjE3MTk1NDQ4MzUsImV4cCI6MTcxOTU0ODQzNX0.sQug92xHRJpbK1XTeog79SJOpH0SGVgK8YYB7wPtKyc"
// }
const context = {};
index.main(event, context).then(result => {
  console.log(result);
}).catch(err => {
  console.error(err);
});